from django.conf import settings
from django.templatetags.static import static


# settings文件中定义导入
def site(request):
    context = {
        'LOGO_URL': static('images/logo.jpg'),
        'LOGO_TEXT_URL': static('images/logo_with_text.jpg'),
        'FAVICON_URL': static('images/favicon.ico'),
        'TITLE': 'WatchTower in space protect your safe!',
        'VERSION': settings.B_VERSION,
        'COPYRIGHT': 'WatcherTower © 2021-2051',
    }
    return context
